package com.lq.educationsystem.teacher.feign;

import com.lq.educationsystem.common.entiy.StudentTb;
import com.lq.educationsystem.common.util.Result;
import com.lq.educationsystem.common.util.ResultPage;
import com.lq.educationsystem.common.vo.StudentPageVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Component
@FeignClient(name = "lq-student" ,url = "http://localhost:10005/")
public interface StudentFeign {

    //根据学生id集合批量查询学生信息

    @RequestMapping("/student/query/batch/student/info")
    public ResultPage<StudentTb> queryBatchStudentInfoByStudentIdList(@RequestBody List<Integer> studentIdList);

}
